SWEP.Base = "weapon_ic_baseweapon"

if SERVER then
	AddCSLuaFile ("shared.lua")
end

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.Spawnable				= true
SWEP.AdminSpawnable			= true

SWEP.PrintName			= "IMI GALIL"
SWEP.Description		= "A powerful balanced rifle effective at all but the highest of ranges, with a good magazine capacity."

SWEP.Slot					= 2
SWEP.Cost					= 3650
SWEP.IconFont				= "CSKillIcons"
SWEP.IconLetter				= "v"

SWEP.Primary.ClipSize		= 35
SWEP.Primary.DefaultClip	= 270
SWEP.Primary.Automatic		= true
SWEP.Primary.Ammo			= "smg1"

SWEP.Primary.Sound			= Sound ("Weapon_GALIL.Single")

SWEP.Primary.Delay			= 0.1
SWEP.Primary.Damage			= 30
SWEP.Primary.Cone			= 0.017
SWEP.Primary.Kick			= 1.5

SWEP.Secondary.ClipSize		= -1
SWEP.Secondary.DefaultClip	= -1
SWEP.Secondary.Automatic	= false 
SWEP.Secondary.Ammo			= "none"

SWEP.ViewModel = "models/weapons/v_rif_galil.mdl"
SWEP.ViewModelFlip = false
SWEP.ViewModelDefPos = Vector (-3.642, -4.3187, 1.4917)
SWEP.ViewModelDefAng = Vector (-0.5096, 0.0346, 0)

SWEP.WorldModel = "models/weapons/w_rif_galil.mdl"
SWEP.HoldType = "ar2"

if CLIENT then killicon.AddFont("weapon_ic_galil", SWEP.IconFont, SWEP.IconLetter, Color(255, 80, 0, 255)) end

SWEP.IsRifle	= true
